export default[
  {
     path:'/goodsCategory',
     redirect:"/goodsCategory/decoration",
     name:'goodsCategory',
     meta:{icon:'category',title:'商品分类',rank:7},
     children:[
      {
        path: 'decoration',
        name: 'decoration',
        meta:{icon:'decorate',title:'装饰品'},
        component: () => import('@/views/goodsCategory/decoration/index.vue'),
      },
      {
        path: 'decoration/detail/:id',
        name: 'decorationDetail',
        component: () => import('@/views/goodsCategory/decoration/detail.vue'), 
        meta:{noInMenu:true,hiddenLayout:true,title:"装饰品详情"},  
      },
      {
        path: 'clothes',
        name:'clothes',
        redirect:'/goodsCategory/clothes/woman',
        meta:{icon:'clothes',title:'衣装'},
        children:[
        {
          path: 'woman',
          name: 'woman',
          meta:{icon:"female",title:'女装'},
          component: () => import('@/views/goodsCategory/clothes/woman.vue'),
        },
        {
          path: 'man',
          name: 'man',
          meta:{icon:'male',title:'男装'},
          component: () => import('@/views/goodsCategory/clothes/man.vue'),
        },
       ],
      },
     ]
  },
] as  routeItemConfig[]